<template>
  <div class="about">
      <div @click="onClick">This is an about page</div>
  </div>
</template>
<script>
export default {
   methods: {
    onClick() {
      console.log(this.$route);
      window.setTimeout(() => {
        window.localStorage.setItem("User", JSON.stringify(true));
        this.$router.push("/");
      }, 3000);
    }
  }
}
</script>
